//
//  EFOrderTotalInfoItem.h
//  EnjogFood
//
//  Created by 王芳 on 17/5/16.
//  Copyright © 2017年 wf. All rights reserved.
//

#import <Foundation/Foundation.h>

//"is_show_btn_cancelorder": ”取消订单“按钮 0不显示 1显示,
//"is_show_btn_deleteorder": ”删除订单“按钮 0不显示 1显示,
//"is_show_btn_paynow": ”立即支付“按钮 0不显示 1显示,
//"is_show_btn_buyagain": ”再次购买“按钮 0不显示 1显示,
//"is_show_btn_returndetail": ”退换货详情“按钮 0不显示 1显示

@interface EFOrderTotalInfoItem : NSObject
@property (nonatomic, copy) NSString *id;//订单id
@property (nonatomic, copy) NSString *order_no;//订单号
@property (strong, nonatomic) NSNumber *status;//0未付款  1待收货  2  已完成  3   退换货   4线下购物
@property (nonatomic, copy) NSString *status_name;//订单状态
@property (nonatomic, copy) NSString *created_at;
@property (nonatomic, copy) NSString *payment_time;
@property (nonatomic, copy) NSString *total_amount;//订单总价
@property (nonatomic, copy) NSString *amount;//实际支付金额
@property (nonatomic, copy) NSString *payment_no;//二维码下面的流水号
@property (nonatomic, copy) NSString *payment_qrcode;//二维码图片地址
@property (nonatomic, copy) NSString *carrier;//发货方式 eg. 顺丰速递
@property (nonatomic, copy) NSString *tracking_no;//追踪号，有可能是多个，2389328932722,212109038229
@property (nonatomic, copy) NSString *post_message;//物流信息额外提示，eg.本订单已超出退换货服务时间（10天）
@property (nonatomic, copy) NSString *postage;//运费
@property (nonatomic, copy) NSString *name;
@property (nonatomic, copy) NSString *phone;
@property (nonatomic, copy) NSString *addr;
@property (nonatomic, copy) NSString *addr_detail;
@property (nonatomic, copy) NSString *paymethod;
@property (nonatomic, copy) NSString *credit_amount;//积分抵扣金额
@property (nonatomic, copy) NSString *discount;//折扣金额
@property (nonatomic, copy) NSString *coupon_amount;// 优惠券金额
@property (nonatomic, assign) BOOL is_show_btn_returnrequest;//”申请退换货“按钮 0不显示 1显示
@property (assign, nonatomic) BOOL is_show_btn_cancelorder;//”取消订单“
@property (assign, nonatomic) BOOL is_show_btn_deleteorder;//删除订单
@property (assign, nonatomic) BOOL is_show_btn_paynow;//立即支付
@property (assign, nonatomic) BOOL is_show_btn_buyagain;//再次购买
@property (assign, nonatomic) BOOL is_show_btn_returndetail;//退换货详情
@property (strong, nonatomic) NSMutableArray *detail;//产品详情 EFOrderProductItem

@end
